<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>注册订单 - 打印</title>
<?php include($this->c['_homes']['_viewsHome'].'/_global/_head.php');?>
<style>
@media print { 
.noprint { display: none;color:green } 
} 
</style>
</head>
<!-- BEGIN BODY -->
<body class="page-header-fixed page-sidebar-fixed">
<!-- BEGIN HEADER -->
<?php include($this->c['_homes']['_viewsHome'].'/_global/head.php');?>
<!-- END HEADER -->
<div class="clearfix"></div>
<!-- BEGIN CONTAINER -->
<div class="page-container" > 
  <!-- BEGIN HORIZONTAL MENU PAGE SIDEBAR1 -->
  <?php include($this->c['_homes']['_viewsHome'].'/_global/menu.php');?>
  <!-- END BEGIN HORIZONTAL MENU PAGE SIDEBAR --> 
  <!-- BEGIN PAGE -->
  <div class="page-content"> 
   

    <!-- END PAGE HEADER--> 
    <!-- BEGIN PAGE CONTENT-->
    
    <div class="row">
      <div class="col-md-12"> 
        <!-- BEGIN SAMPLE FORM PORTLET-->
        <form class="form-horizontal" id="_frm" method="post">
          <div class="tabbable tabbable-custom boxless">
          <div class="tab-content"> 
            <!--Tab0-->            
            <div class="tab-pane active" id="tab_1">
              <div class="portlet box">
              <div class="portlet-title">
                  <div class="caption" style="color:#000;width:100%"><h5 style="font-size:30px;">乐活国际.<span style="font-size:14px;">注册</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="text-align:center;">产品配货单</span></h5></div>
                </div>
                 <div class="portlet-title">
                  <div class="caption" style="color:#000;font-size:14px;">订单号：<?=$this->data['order_sn']?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;订货日期：<?=date("Y-m-d H:i",$this->data['ctime']); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ID号：<?=$this->data['order_id'] ?></div>
                </div>
                <div class="portlet-title">
                  <div class="caption" style="color:#000;font-size:14px;"> 产品订购明细 </div>
                </div>
                <div class="portlet-body">
                  <div class="table-scrollable">
                     <table class="table table-striped table-bordered table-hover dataTable">
                              <thead>
                                <tr>
                                  <th>编号</th>
                                  <th>商品名称</th>
                                 <!--  <th>规格型号</th> -->
                                  <th>单位</th>
                                  <th>数量</th>
                                  <th>单价</th>
                                  <th>金额</th>
                                </tr>
                              </thead>
                              <tbody>
                                <?php
								if($this->data)
								{
																												
								?>
                                <tr>
                                  <td><?=$this->data['order_sn'];?></td>
                                  <td><?=$this->data['tao_name'];?>
                                  <td>个</td>
                                   <td>1</td>
                                  <td>￥<?=$this->data['money'];?></td>
                                  <td>￥<?=$this->data['money'];?></td>
                                </tr>
                                <?php 
                                    
						           }
    								?>
                                <tr>
                                <td colspan="4">合计</td>
                                <td>￥<?=$this->data['money'];?></td>
                                <td>￥<?=$this->data['money'];?></td>
                                
                                </tr>
                                <tr>
                                <td colspan="6"><h5>备注：如产品有任何质量问题，请联系公司客服：0731-86243499</h5></td>
                                </tr>
                              </tbody>
                            </table>
                           
                  </div>
                </div>
              </div>
            </div>
            <!--Tab1-->
            <div class="tab-pane active" id="tab_0">
              <div class="portlet box">
             <div class="portlet-title">
                  <div class="caption" style="color:#000;font-size:14px;">收货人： <?=$this->data['tao_name'];?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;联系电话： <?=$this->data['tao_mobile'];?></div>
                </div>
                <div class="portlet-title">
                  <div class="caption" style="color:#000;font-size:14px;">物流地址：  <?php
                          if($this->data['tao_province_id']>0) echo $this->data['region'][$this->data['tao_province_id']];
                          if($this->data['tao_city_id']>0) echo $this->data['region'][$this->data['tao_city_id']];
                          if($this->data['tao_county_id']>0) echo $this->data['region'][$this->data['tao_county_id']];
                          echo $this->data['tao_address'];
                          ?></div>
                </div>
                      <div class="form-group noprint">
                      <div class="col-md-offset-4 col-md-12">
                        <button type="button" class="btn blue col-md-2"   onclick="javascript:window.print();">打印</button>
                      </div>
                      </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          
        </form>
        <!-- END SAMPLE FORM PORTLET--> 
      </div>
    </div>
    <!-- END PAGE CONTENT--> 
  </div>
  <!-- END PAGE --> 
</div>
<!-- END CONTAINER -->
<?php include($this->c['_homes']['_viewsHome'].'/_global/_footer.php');?>
<script>
jQuery(document).ready(function() {    
   App.init();	
});


</script> 
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>